< previous page page_502 next page >

Page 502
9f8044bafea36a1f728739c0bb58ef4c.gif
5. What are the various kinds of methods for which you must plan?
9f8044bafea36a1f728739c0bb58ef4c.gif
You must plan for the following kinds of errors:
9f8044bafea36a1f728739c0bb58ef4c.gif
Errors that your component traps but allows the client to handle.
9f8044bafea36a1f728739c0bb58ef4c.gif
Errors that originate in another component from which your component received and used object references.
9f8044bafea36a1f728739c0bb58ef4c.gif
Errors that originate in your component that may have been the result of programmer error or some rule violation that must be enforced by your component.
Day 19
9f8044bafea36a1f728739c0bb58ef4c.gif
1. What does UDA stand for? What is its purpose?
9f8044bafea36a1f728739c0bb58ef4c.gif
Microsoft Universal Data Access. UDA is a new Microsoft architecture that promises to provide efficient access to a variety of data formatsrelational and nonrelationalon different platforms across your enterprise. UDA gives you a developer-friendly programming interface that can be used with Visual Basic.
9f8044bafea36a1f728739c0bb58ef4c.gif
2. What features does the Remote Data Services (RDS) component provide for ADO?
9f8044bafea36a1f728739c0bb58ef4c.gif
The Remote Data Services is a client-side component used by ADO to provide for opening and managing database cursors, remote object invocation, and explicit access to remote recordsets.
9f8044bafea36a1f728739c0bb58ef4c.gif
3. What are three reasons ADO was created by Microsoft?
9f8044bafea36a1f728739c0bb58ef4c.gif
Microsoft designed ADO to assist in the following ways:
9f8044bafea36a1f728739c0bb58ef4c.gif
To address your unique Internet development needs
9f8044bafea36a1f728739c0bb58ef4c.gif
To access special kinds of persistent information not limited to relational data
9f8044bafea36a1f728739c0bb58ef4c.gif
To develop faster, smaller, and more efficient applications
9f8044bafea36a1f728739c0bb58ef4c.gif
4. True or False: RDO enables you to limit the number of rows returned or processed.
9f8044bafea36a1f728739c0bb58ef4c.gif
True
9f8044bafea36a1f728739c0bb58ef4c.gif
5. What are the advantages and disadvantages of using the ODBC API?
9f8044bafea36a1f728739c0bb58ef4c.gif
The chief advantage includes speed due to less overhead than other data access mechanisms. Disadvantages include a high level of complexity and difficulty in maintaining code.
9f8044bafea36a1f728739c0bb58ef4c.gif
6. What are the general operations involved in working with the ODBC API?
9f8044bafea36a1f728739c0bb58ef4c.gif
Establishing the environment by allocating an environment handle (hEnv) using ODBC's SQLAllocEnv.

 
< previous page page_502 next page >

If you like this book, buy it!